/*=========================================================================

Program:   Virtual Surgery
Language:  C++
Date:      2009-9-1
Version:   0.1
Mail:		   nelfylee@gmail.com

Copyright (c) 2009 Nelfy Lee. All rights reserved.

=========================================================================*/
#include "Source.h"
#include "MainWindow.h"

#include <QApplication>

int main(int argc, char **argv)
{
	QApplication app(argc, argv);
	Q_INIT_RESOURCE(Resources);
	QApplication::addLibraryPath("./plugins");
	QApplication::addLibraryPath("./lib");
	qApp->setAttribute(Qt::AA_DontShowIconsInMenus, false);
	qRegisterMetaType<SourceProperty>("SourceProperty");
	MainWindow mainWin;
	mainWin.resize(1024, 768);
	mainWin.show();
	mainWin.postShow();
	return app.exec();
}

